package com.css.entity;

import java.util.HashMap;

/**
 * <p>
 * -
 * </p>
 *
 * @author css
 * @since 2019/1/10
 */
public class KeyBorderCode {
    public final static int CTRL = 29;
    public final static int ALT = 56;
    public final static HashMap<Integer, String> HASH_MAP = new HashMap<>();
    public final static int VK_SHIFT = 42;
    public final static int VK_Z = 44;
    public final static int VK_X = 45;
    public final static int VK_C = 46;
    public final static int VK_V = 47;
    public final static int VK_A = 30;
    public final static int VK_S = 31;
    public final static int VK_D = 32;
    public final static int VK_F = 33;
    public final static int VK_TAB = 15;
    public final static int VK_ENTER = 28;

    static {
        HASH_MAP.put(1, "Esc");
        HASH_MAP.put(59, "F1");
        HASH_MAP.put(60, "F2");
        HASH_MAP.put(61, "F3");
        HASH_MAP.put(62, "F4");
        HASH_MAP.put(63, "F5");
        HASH_MAP.put(64, "F6");
        HASH_MAP.put(65, "F7");
        HASH_MAP.put(66, "F8");
        HASH_MAP.put(67, "F9");
        HASH_MAP.put(68, "F10");
        HASH_MAP.put(87, "F11");
        HASH_MAP.put(88, "F12");
        HASH_MAP.put(41, "`");
        HASH_MAP.put(2, "1");
        HASH_MAP.put(3, "2");
        HASH_MAP.put(4, "3");
        HASH_MAP.put(5, "4");
        HASH_MAP.put(6, "5");
        HASH_MAP.put(7, "6");
        HASH_MAP.put(8, "7");
        HASH_MAP.put(9, "8");
        HASH_MAP.put(10, "9");
        HASH_MAP.put(11, "10");
        HASH_MAP.put(30, "a");
        HASH_MAP.put(31, "s");
        HASH_MAP.put(32, "d");
        HASH_MAP.put(33, "f");
        HASH_MAP.put(34, "g");
        HASH_MAP.put(35, "h");
        HASH_MAP.put(36, "j");
        HASH_MAP.put(37, "k");
        HASH_MAP.put(38, "l");
        HASH_MAP.put(44, "z");
        HASH_MAP.put(46, "c");
        HASH_MAP.put(47, "v");
        HASH_MAP.put(VK_TAB, "Tab");
        HASH_MAP.put(CTRL, "Ctrl");
        HASH_MAP.put(ALT, "Alt");
        HASH_MAP.put(VK_SHIFT, "VK_SHIFT");
    }


}
